package android.slc.box.core.launcher;

import android.slc.box.core.compat.WindowLauncherBuilder;
import javafx.stage.Stage;

/**
 * @author slc
 * @date 2022/09/27 上午 9:50
 */
public class StageLauncherBuilder extends WindowLauncherBuilder<Stage, StageLauncher, StageLauncherBuilder> {
    public static StageLauncherBuilder newBuilder() {
        return new StageLauncherBuilder();
    }

    @Override
    public StageLauncher build() {
        StageLauncherImpl stageLauncher = new StageLauncherImpl(currentWindow, stylesheets, bundle);
        return stageLauncher;
    }
}
